import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Video from '@/components/page/video/Video'
import Tetper from '@/components/page/video/children/Tetper'
import YunQi from '@/components/page/yunqi/YunQi'
import YunQiFirst from '@/components/page/yunqi/YunQiFirst'
import YunQiSecond from '@/components/page/yunqi/YunQiSecond'
import YunQiThird from '@/components/page/yunqi/YunQiThird'
import YunQiForth from '@/components/page/yunqi/YunQiForth'

import NiaoJian from '@/components/page/niaojian/NiaoJian'
import NiaoJianFirst from '@/components/page/niaojian/NiaoJianFirst'
import NiaoJianSecond from '@/components/page/niaojian/NiaoJianSecond'
import NiaoJianThird from '@/components/page/niaojian/NiaoJianThird'
import NiaoJianForth from '@/components/page/niaojian/NiaoJianForth'


import PaiLuan from '@/components/page/pailuan/PaiLuan'
import PaiLuanFirst from '@/components/page/pailuan/PaiLuanFirst'
import PaiLuanSecond from '@/components/page/pailuan/PaiLuanSecond'
import PaiLuanThird from '@/components/page/pailuan/PaiLuanThird'
import PaiLuanForth from '@/components/page/pailuan/PaiLuanForth'

import XinDian from '@/components/page/xindian/XinDian'
import XinDianFirst from '@/components/page/xindian/XinDianFirst'
import XinDianSecond from '@/components/page/xindian/XinDianSecond'
import xindianredo from '@/components/page/xindian/xindianredo'

import SetMain from '@/components/page/setmain/SetMain'
import SetMainUpdate from '@/components/page/setmain/SetMainUpdate'
import BangZhu from '@/components/page/setmain/BangZhu'

import yinsismMore from '@/components/page/setmain/yinsismMore'
import yinsiSM from '@/components/page/setmain/yinsiSM'
import yinsiSMset from '@/components/page/setmain/yinsiSMset'


import CtrlMain from '@/components/page/ctrlmain/CtrlMain'
import Index from '@/components/page/index/Index'
import AddTo from '@/components/page/addto/AddTo'
import Addtest from '@/components/page/addto/Addtest'


Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/home',
			name: 'Home',
			component: Home
		},
		{
			path: '/video',
			name: 'Video',
			component: Video
		},
		{
			path: '/video/tetper',
			name: 'Tetper',
			component: Tetper
		},
		{
			path: '/yunqi',
			name: 'YunQi',
			component: YunQi
		},
		{
			path: '/pailuan',
			name: 'PaiLuan',
			component: PaiLuan
		},
		{
			path: '/setmain',
			name: 'SetMain',
			component: SetMain
		},
		{
			path: '/ctrlmain',
			name: 'CtrlMain',
			component: CtrlMain
		},
		{
			path: '/addto',
			name: 'AddTo',
			component: AddTo
		},
		{
			path: '/niaojian',
			name: 'NiaoJian',
			component: NiaoJian
		},

		{
			path: '/index',
			name: 'Index',
			component: Index
		},
		{
			path: '/yunqifirst',
			name: 'YunQiFirst',
			component: YunQiFirst
		},
		{
			path: '/yunqisecond',
			name: 'YunQiSecond',
			component: YunQiSecond
		},
		{
			path: '/yunqithird',
			name: 'YunQiThird',
			component: YunQiThird
		},
		{
			path: '/yunqiforth',
			name: 'YunQiForth',
			component: YunQiForth
		},
		{
			path: '/pailuanfirst',
			name: 'PaiLuanFirst',
			component: PaiLuanFirst
		},
		{
			path: '/pailuansecond',
			name: 'PaiLuanSecond',
			component: PaiLuanSecond
		},
		{
			path: '/pailuanthird',
			name: 'PaiLuanThird',
			component: PaiLuanThird
		},
		{
			path: '/pailuanforth',
			name: 'PaiLuanForth',
			component: PaiLuanForth
		},
		{
			path: '/niaojianFirst',
			name: 'NiaoJianFirst',
			component: NiaoJianFirst
		},
		{
			path: '/niaojiansecond',
			name: 'NiaoJianSecond',
			component: NiaoJianSecond
		},
		{
			path: '/niaojianthird',
			name: 'NiaoJianThird',
			component: NiaoJianThird
		},
		{
			path: '/niaojianforth',
			name: 'NiaoJianForth',
			component: NiaoJianForth
		},
		{
			path: '/xindian',
			name: 'XinDian',
			component: XinDian
		},
		{
			path: '/xindianfirst',
			name: 'XinDianFirst',
			component: XinDianFirst
		},
		{
			path: '/xindiansecond',
			name: 'XinDianSecond',
			component: XinDianSecond
		},
		{
			path: '/addtest',
			name: 'Addtest',
			component: Addtest
		},
		{
			path: '/xindianredo',
			name: 'xindianredo',
			component: xindianredo
		},
		// 打包p7,目前不需要
		// {
		//   path: '',
		//   name: 'CtrlMain',
		//   component: CtrlMain
		// },
		// 打包index.html
		// {
		//   path: '',
		//   name: 'Index',
		//   component: Index
		// },

		// 打包setting.html
		{
		  path: '',
		  name: 'SetMain',
		  component: SetMain
		},
		// 打包connect.html
		// {
		// 	path: '',
		// 	name: 'AddTo',
		// 	component: AddTo
		// },
		{
			path: '/SetMainUpdate',
			name: 'SetMainUpdate',
			component: SetMainUpdate
		},
		{
			path: '/yinsismmore',
			name: 'yinsismMore',
			component: yinsismMore
		},
		{
			path: '/bangzhu',
			name: 'BangZhu',
			component: BangZhu
		},
		{
			path: '/yinsism',
			name: 'yinsiSM',
			component: yinsiSM
		},
		{
			path: '/yinsismset',
			name: 'yinsiSMset',
			component: yinsiSMset
		}


	]
})
